package com.hu.bgp.client.rpc;

import com.google.gwt.user.client.rpc.RemoteService;
import com.hu.bgp.framework.clientapi.ClientGameContext;
import com.hu.bgp.framework.clientapi.ClientToServerMessage;
import com.hu.bgp.shared.data.ClientGameType;
import com.hu.bgp.shared.data.ClientGameTypeCollection;

/**
 * Interface van de BoardGameService servlet.
 * 
 * @author ejvos
 */
public interface BoardGameService extends RemoteService
{
	public void handleMessage(ClientToServerMessage message);

	public ClientGameContext getClientGameContext();

	ClientGameTypeCollection getClientGameTypeCollection();

	// TODO
	// move this method to a different"protected servlet"
	ClientGameTypeCollection getClientGameTypeAdminCollection();

	void activateGame(ClientGameType gameType);
}
